<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>

<form enctype="multipart/form-data" method="post" target="upload" action="./upload.php" >
    姓名：<input type="text" name="name" />
    <p>
        上传：<input type="file" name="uploadfile" />
        <input type="submit" />
</form>

<!-- display: none;设置隐藏不见 -->
<iframe name="upload" style="border:2px red solid;width:500px;height:500px"></iframe>

</body>
</html>